package com.sc1905.crane.pojo;

import java.io.Serializable;
import java.util.Date;

public class NNotice implements Serializable {
    private Short novelid;

    private Integer bookid;

    private Date createtime;

    private String describtion;

    private Short status;

    private Short range;

    private static final long serialVersionUID = 1L;

    public Short getNovelid() {
        return novelid;
    }

    public void setNovelid(Short novelid) {
        this.novelid = novelid;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getDescribtion() {
        return describtion;
    }

    public void setDescribtion(String describtion) {
        this.describtion = describtion == null ? null : describtion.trim();
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Short getRange() {
        return range;
    }

    public void setRange(Short range) {
        this.range = range;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", novelid=").append(novelid);
        sb.append(", bookid=").append(bookid);
        sb.append(", createtime=").append(createtime);
        sb.append(", describtion=").append(describtion);
        sb.append(", status=").append(status);
        sb.append(", range=").append(range);
        sb.append("]");
        return sb.toString();
    }
}